home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
351-375
/
disk_352
/
mg
/
src.lzh
/
h
/
region.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-23
|
581b
|
20 lines
#ifndef MARK_H
#define MARK_H
/*
* This structure holds the starting position (as a line/offset pair) and the
* number of characters in a region of a buffer. This makes passing the
* specification of a region around a little bit easier.
*/
struct region {
struct line *r_linep;/* Origin LINE address. */
short r_offset; /* Origin LINE offset. */
RSIZE r_size; /* Length in characters. */
};
#ifndef NO_PROTO
int getregion(struct region * rp);
int setsize(register struct region * rp, register RSIZE size);
#endif
#endif